package com.hpe.pojo;

/**
 * Created by 李宇寒
 * 2017/9/22 0022 上午 12:08.
 */
public class Schoolentity {
    private int schid;
    private String schname;
    private Integer schoolcount;

    public int getSchid() {
        return schid;
    }

    public void setSchid(int schid) {
        this.schid = schid;
    }

    public String getSchname() {
        return schname;
    }

    public void setSchname(String schname) {
        this.schname = schname;
    }

    public Integer getSchoolcount() {
        return schoolcount;
    }

    public void setSchoolcount(Integer schoolcount) {
        this.schoolcount = schoolcount;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;

        Schoolentity that = (Schoolentity) o;

        if (schid != that.schid) return false;
        if (schname != null ? !schname.equals(that.schname) : that.schname != null) return false;
        if (schoolcount != null ? !schoolcount.equals(that.schoolcount) : that.schoolcount != null) return false;

        return true;
    }

    @Override
    public int hashCode() {
        int result = schid;
        result = 31 * result + (schname != null ? schname.hashCode() : 0);
        result = 31 * result + (schoolcount != null ? schoolcount.hashCode() : 0);
        return result;
    }
}
